home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / cmsprefs.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-07-09  |  1.0 KB  |  39 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. #ifndef CMSPREFS_H
  8. #define CMSPREFS_H
  9.  
  10. #include "ui_cmsprefsbase.h"
  11. #include "scribusapi.h"
  12.  
  13. class ScribusDoc;
  14. struct CMSData;
  15. typedef QMap<QString,QString> ProfilesL;
  16.  
  17. class SCRIBUS_API CMSPrefs : public QWidget, Ui::CMSPrefsBase
  18. {
  19.     Q_OBJECT
  20.  
  21. public:
  22.     CMSPrefs( QWidget* parent, CMSData *Vor, ProfilesL *InputProfiles, ProfilesL *InputProfilesCMYK, ProfilesL *PrinterProfiles, ProfilesL *MonitorProfiles);
  23.     ~CMSPrefs() {};
  24.  
  25.     void restoreDefaults(CMSData *prefs, ProfilesL *InputProfiles, ProfilesL *InputProfilesCMYK, ProfilesL *PrinterProfiles, ProfilesL *MonitorProfiles);
  26.     void updateDocSettings(ScribusDoc* doc);
  27.     CMSData *prefs;
  28.     bool changed;
  29.  
  30. public slots:
  31.     virtual void slotCMSon();
  32.     virtual void setValues();
  33.  
  34. signals:
  35.     void cmsOn(bool);
  36. };
  37.  
  38. #endif // CMSPREFS_H
  39.